﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace GroupChat2013.Common
{
    /// <summary>
    /// 只读字符串帮助文件
    /// </summary>
    public class ConstClass
    {
        /// <summary>
        /// 可以插入到聊天信息里的图片的最大限制
        /// </summary>
        public static readonly int MaxInsertImageSize = 2048;

        /// <summary>
        /// 加载最近联系人个数
        /// </summary>
        public static readonly int LoadRecChatCount = 30;

        /// <summary>
        /// 私聊通知类型
        /// </summary>
        public static readonly string GETLATESTPERSONCHAT = "getLatestPersonChat";

        /// <summary>
        /// 群聊通知类型
        /// </summary>
        public static readonly string GETLATESTGROUPCHAT = "getLatestGroupChat";

        /// <summary>
        /// 群详情发生变化通知
        /// </summary>;
        public static readonly string GETCURRENTGROUPINFO = "getCurrentGroupInfo";

        /// <summary>
        /// 群列表更新通知
        /// </summary>
        public static readonly string GETMYGROUPLIST = "getMyGroupList";

        /// <summary>
        /// 群成员列表更新通知
        /// </summary>
        public static readonly string GETGROUPMEMBERLIST = "getGroupMemberList";

        /// <summary>
        /// 新的群公告 通知
        /// </summary>
        public static readonly string GETLATESTGROUPNOTICELIST = "getLatestGroupNoticeList";

        /// <summary>
        /// 新的私人分享 通知
        /// </summary>
        public static readonly string GETPERSONSHAREFILECREATEDNOTIFY = "getPersonSharefileCreatedNotify";

        /// <summary>
        /// 新的群分享 通知
        /// </summary>
        public static readonly string GETGROUPSHAREFILECREATEDNOTIFY = "getGroupSharefileCreatedNotify";

        /// <summary>
        /// 用户上线 通知
        /// </summary>
        public static readonly string GETUSERONLINENOTIFY = "userOnline";

        /// <summary>
        /// 用户离线 通知
        /// </summary>
        public static readonly string GETUSEROFFLINENOTIFY = "userOffline";

        /// <summary>
        /// 未读消息 通知
        /// </summary>
        public static readonly string GETHASUNREADMISSINGMESSAGE = "hasUnreadMissingMessage";

        /// <summary>
        /// 聊天相关配置
        /// </summary>
        public static readonly string ChatConfigName = "ChatConfig.db";

        /// <summary>
        /// 系统配置文件名称
        /// </summary>
        public static readonly string ServiceConfigName = "ServiceConfig.db";

        /// <summary>
        /// 客户端相关配置
        /// </summary>
        public static readonly string ClientConfigName = "ClientConfig.db";

        #region TabConfig

        /// <summary>
        /// 主面板只显示“群”和“最近联系人”
        /// </summary>
        public static readonly string SimpleRTXPlugin = "simpleRTXPlugin";

        /// <summary>
        /// 主面板显示“群”、“组织机构”、“最近联系人”
        /// </summary>
        public static readonly string RTXPlugin = "RTXPlugin";

        /// <summary>
        /// 主面板显示“组织机构”、“群”、“最近联系人”
        /// </summary>
        public static readonly string IsAlone = "isAlone";

        #endregion

        public static readonly string ConfigImage = "Image";

        public static readonly string DataDirName = "Data";

        /// <summary>
        /// 上部按钮位置
        /// </summary>
        public static readonly string UpButtonPostion = "up";

        /// <summary>
        /// 下部按钮位置
        /// </summary>
        public static readonly string DownButtonPostion = "down";

        /// <summary>
        /// 通知栏配置
        /// </summary>
        public static readonly string AnnounceConfig = "AnnounceConfig.db";

        public static readonly string CurrentIntPtr = "CurrentIntPtr.db";

        public static readonly string appUnRead = "appUnRead";
    }
}
